home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / boxdraw.exe / BOXDRAW.H < prev   
C/C++ Source or Header  |  1992-07-09  |  409b  |  23 lines

  1.  
  2. #ifndef BOXDRAW_H
  3. #define BOXDRAW_H
  4.  
  5. /* include this file in any file that calls draw_box() */
  6.  
  7. #ifdef _cplusplus
  8.  
  9. const int single_border = 0; /* "const int" is the preferred way */
  10. const int double_border = 1; /*   in C++, instead of #define     */
  11.  
  12. #else
  13.  
  14. #define single_border 0
  15. #define double_border 1
  16.  
  17. #endif
  18.  
  19. int draw_box( int x1, int y1, int x2, int y2, int box_type);
  20.  
  21. #endif
  22.  
  23.